﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace WebApp.Companys
{
  
    public class Company : FullAuditedEntity<Guid>
    {

        /// <summary>
        /// 公司名称
        /// </summary>
        [Required]
        [StringLength(100)]
        public string Name { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        [Required]
        [StringLength(500)]
        public string imgUrl { get; set; }

        /// <summary>
        /// 公司类型待定
        /// </summary>
        [StringLength(200)]
        public string CompanyType { get; set; }


        

        /// <summary>
        /// 负责人地址
        /// </summary>
        [StringLength(200)]
        public string PrincipalsEmail  { get; set; }

        /// <summary>
        /// 负责人电话
        /// </summary>
        [StringLength(20)]
        public string PrincipalsTel { get; set; }

        /// <summary>
        /// 负责人名字
        /// </summary>
        [StringLength(100)]
        public string PrincipalsName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(1000)]
        public string Remark { get; set; }

        /// <summary>
        /// 上级公司Id
        /// </summary>
        public Guid Pid { get; set; }

        
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }

    }
}
